<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="ThemeBucket">
    {{--<meta name="_token" content="{{ csrf_token() }}"/>--}}

    <link rel="shortcut icon" href="#" type="image/png">

    <title>Login</title>

    <link href="{{asset('admin/assets/css/style.css')}}" rel="stylesheet">
    <link href="{{asset('admin/assets/css/style-responsive.css')}}" rel="stylesheet">

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="{{asset('admin/assets/js/html5shiv.js')}}"></script>
    <script src="{{asset('admin/assets/js/respond.min.js')}}"></script>
    <![endif]-->
</head>

<body class="login-body">

<div class="container">
    {!! Form::open(['url' => 'back/index', 'method' => 'post','class' => 'form-signin']) !!}
        {!! csrf_field() !!}
        <div class="form-signin-heading text-center">
            <h1 class="sign-title">管 理 员 登 录 界 面</h1>
            <img src="{!! asset('admin/assets/images/login-logo.png') !!}" alt=""/>
        </div>
        <div class="login-wrap">
            {!! Form::text('name','',['class' => 'form-control','id' => 'yonghuming','placeholder' => (old('name')?:'用  户  名'),'autofocus']) !!}
            <span class="-arrow-down">{{ $msg or ''}}</span>
            {!! Form::password('password',['class' => 'form-control','placeholder' => '密   码']) !!}
            <span></span>
            {{--<button class="btn btn-lg btn-login btn-block" type="submit">--}}
            {!! Form::button('<i class="fa fa-check"></i>',['class' => 'btn btn-lg btn-login btn-block','type' => 'submit']) !!}
            <div class="registration">
                <a class="" href="{{ url('back/signup') }}">
                    注册
                </a>
            </div>
            <label class="checkbox">
                {!! Form::checkbox('remember',true) !!}记住密码
                <span class="pull-right">
                    <a data-toggle="modal" href="#myModal">忘记密码</a>
                </span>
            </label>
        </div>
        {!! Form::close() !!}



        <!-- Modal -->
        {!! Form::open(['url' => 'admin', 'method' => 'post','class' => 'form-signin']) !!}
        <div aria-hidden="true" aria-labelledby="myModalLabel" role="dialog" tabindex="-1" id="myModal" class="modal fade">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        {!! Form::button('&times;',['class' => 'close', 'data-dismiss' => 'modal','aria-hidden' => 'true']) !!}
                        <h4 class="modal-title">忘记密码</h4>
                    </div>
                    <div class="modal-body">
                        <p>请输入你的注册时邮箱地址重置密码</p>
                        {{--<input type="text" name="email" placeholder="Email" autocomplete="off" class="form-control placeholder-no-fix">--}}
                        {!! Form::text('email','',['placeholder' =>'example@com','autocomplete' => 'off','class' => 'form-control placeholder-no-fix']) !!}
                    </div>
                    <div class="modal-footer">
                        {{--<button data-dismiss="modal" class="btn btn-default" type="button"></button>--}}
                        {!! Form::button('取消',['class' => 'btn btn-default', 'data-dismiss' => 'modal']) !!}
                        {!! Form::button('提交',['class' => 'btn btn-primary','type' => 'submit']) !!}
                    </div>
                </div>
            </div>
        </div>
        {!! Form::close() !!}
        <!-- modal -->
</div>


<!-- Placed js at the end of the document so the pages load faster -->
</body>
<script src="{{asset('admin/assets/js/jquery-1.10.2.min.js')}}"></script>
<script src="{{asset('admin/assets/js/bootstrap.min.js')}}"></script>
<script src="{{asset('admin/assets/js/modernizr.min.js')}}"></script>
<script type="text/javascript">

</script>
</html>
